package com.jg.service.impl;

import com.jg.entity.Classes;
import com.jg.mapper.ClassMapper;
import com.jg.service.ClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 86130
 * @version 1.0
 * @description: TODO
 * @date 2025/6/22 下午3:41
 */
@Service
public class ClassServiceImpl implements ClassService {
    @Autowired
    private ClassMapper classMapper;

    //获取班级列表
    @Override
    public List<Classes> getList() {
        return classMapper.findAll();
    }
}
